//
//  UIColor+ZRandom.m
//  Pods
//
//  Created by zwx on 2017/11/23.
//

#import "UIColor+ZRandom.h"

@implementation UIColor (ZRandom)
+ (UIColor *)z_randomColor {
    NSInteger aRedValue = arc4random() % 255;
    NSInteger aGreenValue = arc4random() % 255;
    NSInteger aBlueValue = arc4random() % 255;
    UIColor *randColor = [UIColor colorWithRed:aRedValue / 255.0f green:aGreenValue / 255.0f blue:aBlueValue / 255.0f alpha:1.0f];
    return randColor;
}
@end
